/*******************************************************************************
 * Copyright (c) 2016, 2025 Lablicate GmbH.
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 * 
 * Contributors:
 * Philip Wenig - initial API and implementation
 *******************************************************************************/
package org.eclipse.chemclipse.model.implementation;

import static org.junit.jupiter.api.Assertions.assertEquals;

import org.eclipse.chemclipse.model.identifier.ComparisonResult;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.TestInstance.Lifecycle;

@TestInstance(Lifecycle.PER_CLASS)
public class ComparisonResult_1_Test {

	private static final float DEFAULT_VALUE = 100.0f;
	private ComparisonResult comparisonResult;

	@BeforeAll
	public void setUp() {

		comparisonResult = new ComparisonResult(DEFAULT_VALUE, DEFAULT_VALUE, DEFAULT_VALUE, DEFAULT_VALUE, DEFAULT_VALUE);
	}

	@Test
	public void test1() {

		assertEquals(DEFAULT_VALUE, comparisonResult.getMatchFactor(), 0);
	}

	@Test
	public void test2() {

		assertEquals(DEFAULT_VALUE, comparisonResult.getReverseMatchFactor(), 0);
	}

	@Test
	public void test3() {

		assertEquals(DEFAULT_VALUE, comparisonResult.getMatchFactorDirect(), 0);
	}

	@Test
	public void test4() {

		assertEquals(DEFAULT_VALUE, comparisonResult.getReverseMatchFactorDirect(), 0);
	}

	@Test
	public void test5() {

		assertEquals(DEFAULT_VALUE, comparisonResult.getProbability(), 0);
	}

	@Test
	public void test6() {

		assertEquals(DEFAULT_VALUE, comparisonResult.getMatchFactorNotAdjusted(), 0);
	}

	@Test
	public void test7() {

		assertEquals(DEFAULT_VALUE, comparisonResult.getReverseMatchFactorNotAdjusted(), 0);
	}

	@Test
	public void test8() {

		assertEquals(DEFAULT_VALUE, comparisonResult.getMatchFactorDirectNotAdjusted(), 0);
	}

	@Test
	public void test9() {

		assertEquals(DEFAULT_VALUE, comparisonResult.getReverseMatchFactorDirectNotAdjusted(), 0);
	}
}
